package com.hsj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling   //定时任务的开关
@EnableAspectJAutoProxy  //开启自动代理
public class SSMPApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SSMPApplication.class, args);
        Object fileNameList = context.getBean("fileNameList");
        System.out.println(fileNameList);
    }

}
